package gazpachito.examples.services.cxf.vehicle.api.request;

import gazpachito.examples.patterns.methodTemplate.api.AnimalVehicleDTO;
import gazpachito.examples.patterns.methodTemplate.api.EngineVehicleDTO;
import gazpachito.examples.patterns.methodTemplate.api.VehicleDTO;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;

@XmlType(name = "ManageVehicleRequest")
@XmlSeeAlso({ EngineVehicleDTO.class, AnimalVehicleDTO.class })
public class ManageVehicleRequest implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1144868850362615114L;

	private VehicleDTO vehicle;

	/**
	 * @return the vehicle
	 */
	public VehicleDTO getVehicle() {
		return vehicle;
	}

	/**
	 * @param vehicle
	 *            the vehicle to set
	 */
	public void setVehicle(VehicleDTO vehicle) {
		this.vehicle = vehicle;
	}

}
